[index]

SoundFile Property

Syntax

set the soundFile of <sound> to <pathname> Applies to sounds

Description

The soundFile property indicates the file name that contains the sound sample data and from which the sound objects gets sample data for the playback. If the sound data has been imported, this property is empty. You can set the soundFile property either by using a script or by clicking on the Sound button in the Sound Info dialog box.

Notes

Examples

Create a sound. Do not associate it with a sound file. Locate a sound file you wish to associate with the sound. Now type the following statement into the Message Box, replacing the pathname shown with the full pathname of your sound file. For Windows: set the SoundFile of movie 1 to "c:\sounds\mysound.wav" For Macintosh:
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.